//
//  CellDataAdapter.m
//  MyFunctionDemo
//
//  Created by Ting Han on 2017/9/21.
//  Copyright © 2017年 Ting Han. All rights reserved.
//

#import "CellDataAdapter.h"

@implementation CellDataAdapter

+ (CellDataAdapter *)cellDataAdapterWithReuseIdentifier:(NSString *)reuseIdentifier data:(id)data cellHeight:(CGFloat)cellHeight cellWidth:(CGFloat)cellWidth cellType:(NSInteger)cellType{
    CellDataAdapter *adapter = [[[self class]alloc]init];
    adapter.cellReuseIdentifier = reuseIdentifier;
    adapter.data = data;
    adapter.cellWidth = cellWidth;
    adapter.cellHeight = cellHeight;
    adapter.cellType = cellType;
    return adapter;
}

@end
